﻿namespace TK.FreeSqlExtension
{
    /// <summary>
    /// 分库分表多租户信息
    /// </summary>
    public class SplitInfo
    {
        /// <summary>
        /// 数据库标识，默认为第一个数据库链接
        /// </summary>
        public string DbKey { get; set; }

        /// <summary>
        /// 表名称
        /// </summary>
        public string TableName { get; set; } = string.Empty;

        /// <summary>
        /// 表前缀，默认""
        /// </summary>
        public string TablePrefix { get; set; } = string.Empty;

        /// <summary>
        /// 表后缀，默认""
        /// </summary>
        public string TableSuffix { get; set; } = string.Empty;
    }
}
